﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Digitalmes.Model.IoTManagement;
using Digitalmes.Model;
namespace Digitalmes.ViewModel.IoTManagement.MeterDeviceVMs
{
    public partial class MeterDeviceSearcher : BaseSearcher
    {
        
        [Display(Name = "_Model._MeterDevice._DeviceCode")]
        public string DeviceCode { get; set; }
        [Display(Name = "_Model._MeterDevice._DeviceName")]
        public string DeviceName { get; set; }
        [Display(Name = "_Model._MeterDevice._DeviceType")]
        public MeterDeviceTypeEnum? DeviceType { get; set; }
        [Display(Name = "_Model._MeterDevice._Location")]
        public string Location { get; set; }
        [Display(Name = "_Model._MeterDevice._Area")]
        public string Area { get; set; }
        [Display(Name = "_Model._MeterDevice._Manufacturer")]
        public string Manufacturer { get; set; }
        [Display(Name = "_Model._MeterDevice._InstallDate")]
        public DateRange InstallDate { get; set; }
        [Display(Name = "_Model._MeterDevice._CommAddress")]
        public string CommAddress { get; set; }
        [Display(Name = "_Model._MeterDevice._CommProtocol")]
        public DriverTypeEnum? CommProtocol { get; set; }
        [Display(Name = "_Model._MeterDevice._Status")]
        public EquipStatusEnum? Status { get; set; }
        [Display(Name = "_Model._MeterDevice._Remark")]
        public string Remark { get; set; }
        [Display(Name = "_Model._MeterDevice._CreateTime")]
        public DateRange CreateTime { get; set; }
        [Display(Name = "_Model._MeterDevice._UpdateTime")]
        public DateRange UpdateTime { get; set; }
        [Display(Name = "_Model._MeterDevice._CreateBy")]
        public string CreateBy { get; set; }
        [Display(Name = "_Model._MeterDevice._UpdateBy")]
        public string UpdateBy { get; set; }

        protected override void InitVM()
        {
            
        }
    }

}